



<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label for="username" class="layui-form-label">
                <span class="x-red">*</span>货币名称
            </label>
            <div class="layui-input-block">
                <input type="text" onchange="this.value=this.value.substring(0, 30)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)"  id="username" name="name" required="" lay-verify="required"
                       autocomplete="off"  value="{$info['name']|default=''}" class="layui-input">
            </div>
            <div style="color: red !important;" class="layui-form-mid layui-word-aux">
                （限制30字符）
            </div>
        </div>
        <div class="layui-form-item">
            <label for="logo" class="layui-form-label">
                <span class="x-red">*</span>货币logo（165*128）
            </label>
            <div id="logo" class="layui-input-block">
                {assign name="cover_id" value="$info.cover_id|default='0'" /}
                {:widget('file/index', ['name' => 'cover_id', 'value' => $cover_id, 'type' => 'img'])}
            </div>
            <!--<div class="layui-form-mid layui-word-aux">-->
            <!--(请上传单张封面图片)-->
            <!--</div>-->
        </div>
        <div class="layui-form-item">
            <label for="symbol" class="layui-form-label">
                货币缩写
            </label>
            <div class="layui-input-block">
                <input type="text" id="symbol" name="symbol"
                       autocomplete="off" class="layui-input"  value="{$info['symbol']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (货币缩写)
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>货币类型
            </label>
            <div class="layui-input-block">

                    <select name="is_virtual"  >
                        <option value="0" {notempty name="info['is_virtual']"}{if condition="$info['is_virtual'] eq 0"} selected="selected" {/if}{/notempty} >货币</option>
                        <option value="1" {notempty name="info['is_virtual']"}{if condition="$info['is_virtual'] eq 1"} selected="selected" {/if}{/notempty} >虚拟币</option>
                    </select>


            </div>
            <div class="layui-form-mid layui-word-aux">
                (货币类型)
            </div>

        </div>
        <div class="layui-form-item">
            <label for="parities" class="layui-form-label">
                对人民币汇率
            </label>
            <div class="layui-input-block">
                <input type="number" id="parities" name="parities"
                       autocomplete="off" class="layui-input"  value="{$info['parities']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (对人民币汇率)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="wallet_address" class="layui-form-label">
                矿工费转出地址
            </label>
            <div class="layui-input-block">
                <input type="text" id="wallet_address" name="wallet_address"
                       autocomplete="off" class="layui-input"  value="{$info['wallet_address']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (矿工费转出地址)
            </div>
        </div>



        <div class="layui-form-item">
            <label for="wallet_address" class="layui-form-label">
                汇总提币地址
            </label>
            <div class="layui-input-block">
                <input type="text" id="wallet_address2" name="wallet_address2"
                       autocomplete="off" class="layui-input"  value="{$info['wallet_address2']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                ( 汇总提币地址)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="wallet_password" class="layui-form-label">
                代币钱包密码
            </label>
            <div class="layui-input-block">
                <input type="text" id="wallet_password" disabled name="wallet_password"
                       autocomplete="off" class="layui-input"  value="{$info['wallet_password']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (代币钱包密码)
            </div>
        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                充值是否开启
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="is_recharge" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.is_recharge" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>
        

        <div class="layui-form-item">
            <label for="recharge_min" class="layui-form-label">
                最小充值金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="recharge_min"  name="recharge_min"
                       autocomplete="off" class="layui-input"  value="{$info['recharge_min']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (最小充值金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="recharge_max" class="layui-form-label">
                最大充值金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="recharge_max"  name="recharge_max"
                       autocomplete="off" class="layui-input"  value="{$info['recharge_max']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (最大充值金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="recharge_mult" class="layui-form-label">
                充值倍数
            </label>
            <div class="layui-input-block">
                <input type="text" id="recharge_mult"  name="recharge_mult"
                       autocomplete="off" class="layui-input"  value="{$info['recharge_mult']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (充值倍数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="recharge_poundage" class="layui-form-label">
                充值手续费
            </label>
            <div class="layui-input-block">
                <input type="text" id="recharge_poundage"  name="recharge_poundage"
                       autocomplete="off" class="layui-input"  value="{$info['recharge_poundage']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (充值手续费)
            </div>
        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                提现是否开启
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="is_withdrwal" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.is_withdrwal" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>
        

        <div class="layui-form-item">
            <label for="withdrwal_min" class="layui-form-label">
                最小提现金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="withdrwal_min"  name="withdrwal_min"
                       autocomplete="off" class="layui-input"  value="{$info['withdrwal_min']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (最小提现金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="withdrwal_max" class="layui-form-label">
                最大提现金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="withdrwal_max"  name="withdrwal_max"
                       autocomplete="off" class="layui-input"  value="{$info['withdrwal_max']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (最大提现金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="withdrwal_mult" class="layui-form-label">
                提现倍数
            </label>
            <div class="layui-input-block">
                <input type="text" id="withdrwal_mult"  name="withdrwal_mult"
                       autocomplete="off" class="layui-input"  value="{$info['withdrwal_mult']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (提现倍数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="withdrwal_poundage" class="layui-form-label">
                提现手续费
            </label>
            <div class="layui-input-block">
                <input type="text" id="withdrwal_poundage"  name="withdrwal_poundage"
                       autocomplete="off" class="layui-input"  value="{$info['withdrwal_poundage']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (提现手续费)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="withdrwal_time" class="layui-form-label">
                提现时间限制
            </label>
            <div class="layui-input-block">
                <input type="text" id="withdrwal_time"  name="withdrwal_time"
                       autocomplete="off" class="layui-input"  value="{$info['withdrwal_time']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (提现时间限制)
            </div>
        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                转帐是否开启
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="is_transfer" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.is_transfer" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>
        

        <div class="layui-form-item">
            <label for="transfer_min" class="layui-form-label">
                转帐最低数额
            </label>
            <div class="layui-input-block">
                <input type="text" id="transfer_min"  name="transfer_min"
                       autocomplete="off" class="layui-input"  value="{$info['transfer_min']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (转帐最低数额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="transfer_max" class="layui-form-label">
                转帐最高数额
            </label>
            <div class="layui-input-block">
                <input type="text" id="transfer_max"  name="transfer_max"
                       autocomplete="off" class="layui-input"  value="{$info['transfer_max']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (转帐最高数额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="transfer_mult" class="layui-form-label">
                转账倍数
            </label>
            <div class="layui-input-block">
                <input type="text" id="transfer_mult"  name="transfer_mult"
                       autocomplete="off" class="layui-input"  value="{$info['transfer_mult']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (转账倍数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="transfer_poundage" class="layui-form-label">
                转账手续费
            </label>
            <div class="layui-input-block">
                <input type="text" id="transfer_poundage"  name="transfer_poundage"
                       autocomplete="off" class="layui-input"  value="{$info['transfer_poundage']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (转账手续费)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="transfer_limit" class="layui-form-label">
                转账限制
            </label>
            <div class="layui-input-block">
                <input type="text" id="transfer_limit"  name="transfer_limit"
                       autocomplete="off" class="layui-input"  value="{$info['transfer_limit']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (转账限制)
            </div>
        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                兑换是否开启
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="is_exchange" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.is_exchange" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>
       


        <div class="layui-form-item">
            <label for="exchange_min" class="layui-form-label">
                兑换最小金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="exchange_min"  name="exchange_min"
                       autocomplete="off" class="layui-input"  value="{$info['exchange_min']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (兑换最小金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="exchange_max" class="layui-form-label">
                兑换最大金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="exchange_max"  name="exchange_max"
                       autocomplete="off" class="layui-input"  value="{$info['exchange_max']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (兑换最大金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="exchange_mult" class="layui-form-label">
                兑换倍数
            </label>
            <div class="layui-input-block">
                <input type="text" id="exchange_mult"  name="exchange_mult"
                       autocomplete="off" class="layui-input"  value="{$info['exchange_mult']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (兑换倍数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="exchange_poundage" class="layui-form-label">
                兑换手续费
            </label>
            <div class="layui-input-block">
                <input type="text" id="exchange_poundage"  name="exchange_poundage"
                       autocomplete="off" class="layui-input"  value="{$info['exchange_poundage']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (兑换手续费)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="exchange_daily_limit" class="layui-form-label">
                兑换每日最高
            </label>
            <div class="layui-input-block">
                <input type="text" id="exchange_daily_limit"  name="exchange_daily_limit"
                       autocomplete="off" class="layui-input"  value="{$info['exchange_daily_limit']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (兑换每日最高)
            </div>
        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                划转是否开启
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="is_paddle" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.is_paddle" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>
        

        <div class="layui-form-item">
            <label for="paddle_min" class="layui-form-label">
                划转最小金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="paddle_min"  name="paddle_min"
                       autocomplete="off" class="layui-input"  value="{$info['paddle_min']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (划转最小金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="paddle_max" class="layui-form-label">
                划转最大金额
            </label>
            <div class="layui-input-block">
                <input type="text" id="paddle_max"  name="paddle_max"
                       autocomplete="off" class="layui-input"  value="{$info['paddle_max']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (划转最大金额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="paddle_mult" class="layui-form-label">
                划转倍数
            </label>
            <div class="layui-input-block">
                <input type="text" id="paddle_mult"  name="paddle_mult"
                       autocomplete="off" class="layui-input"  value="{$info['paddle_mult']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (划转倍数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="paddle_poundage" class="layui-form-label">
                划转手续费
            </label>
            <div class="layui-input-block">
                <input type="text" id="paddle_poundage"  name="paddle_poundage"
                       autocomplete="off" class="layui-input"  value="{$info['paddle_poundage']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (划转手续费)
            </div>
        </div>
        <div class="layui-form-item">
            <label  class="layui-form-label">
                总包划转
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="paddle_to_csj" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.paddle_to_csj" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>
        
          <div class="layui-form-item">
            <label  class="layui-form-label">
                店铺划转
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="paddle_to_shop" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.paddle_to_shop" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>
          <div class="layui-form-item">
            <label  class="layui-form-label">
                法币划转
            </label>
            <div class="layui-input-inline">
              <input type="checkbox" name="paddle_to_exchange" value="1" lay-skin="switch"  {notempty name='info'}{eq name="info.paddle_to_exchange" value='1'} checked='checked' {/eq}{/notempty}  lay-text="是|否">
            </div>
          </div>

    

        <div class="layui-form-item">
            <label for="ccie_issue_amount" class="layui-form-label">
                CCIE总发行量
            </label>
            <div class="layui-input-block">
                <input type="text" id="ccie_issue_amount"  name="ccie_issue_amount"
                       autocomplete="off" class="layui-input"  value="{$info['ccie_issue_amount']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (CCIE总发行量)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="ccie_issue_amount" class="layui-form-label">
                CCIE代币合约地址
            </label>
            <div class="layui-input-block">
                <input type="text" id="ccie_coin_address"  name="ccie_coin_address"
                       autocomplete="off" class="layui-input"  value="{$info['ccie_coin_address']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (CCIE代币合约地址)
            </div>
        </div>

        <div class="layui-form-item">
        <label for="ccie_bet_address" class="layui-form-label">
            CCIE全网下注金额记账地址
        </label>
        <div class="layui-input-block">
            <input type="text" id="ccie_bet_address"  name="ccie_bet_address"
                   autocomplete="off" class="layui-input"  value="{$info['ccie_bet_address']|default=''}">
        </div>
        <div class="layui-form-mid layui-word-aux">
            (CCIE全网下注金额记账地址)
        </div>
    </div>

        <div class="layui-form-item">
            <label for="ccie_reward_address" class="layui-form-label">
                CCIE全网中奖金额记账地址
            </label>
            <div class="layui-input-block">
                <input type="text" id="ccie_reward_address"  name="ccie_reward_address"
                       autocomplete="off" class="layui-input"  value="{$info['ccie_reward_address']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (CCIE全网中奖金额记账地址)
            </div>
        </div>

        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>




